package com.cxyjy.cfyuiapi.service;

import com.cxyjy.common.util.JResponse;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Author: jony
 * @Date : 2024/11/20 14:12
 * @VERSION v1.0
 */
public interface ComfyUIDownloadService {
    void downloadVideo(String promptId, HttpServletResponse httpServletResponse) throws IOException;

    void downloadImage(String promptId, HttpServletResponse httpServletResponse) throws IOException;

    JResponse checkPromptId(String promptId) throws IOException;

    void downloadVideoTest(String promptId, HttpServletResponse httpServletResponse) throws IOException;
}
